package com.ms.banner.transformer;

import ohos.agp.components.Component;

/**
 * 由于有些API在鸿蒙中没找到对应的 故此动画空实现
 * TabletTransformer.OFFSET_CAMERA.save();
 * TabletTransformer.OFFSET_CAMERA.rotateY(Math.abs(degrees));
 * TabletTransformer.OFFSET_CAMERA.getMatrix(TabletTransformer.OFFSET_MATRIX);
 * TabletTransformer.OFFSET_CAMERA.restore();
 *
 * @since 2021-04-12
 */
public class TabletTransformer extends ABaseTransformer {

    @Override
    public boolean isPagingEnabled() {
        return true;
    }

    @Override
    protected void onTransform(Component component, float position) {

    }

    protected final float getOffsetXForRotation(float degrees, int width, int height) {
        return 0;
    }

}
